# Stage 1: Build dependencies and extensions
FROM ubuntu:22.04


# 更新包并安装所需的系统依赖
#RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories

# 添加配置文件
ADD ./sources.list /etc/apt/sources.list

# 安装运行时依赖
RUN apt update && apt install -y \
    vim \
    cron \
    git \
    wget \
    curl \
    docker.io
